window.onload= function(){
	var dpjs = document.createElement('script');
	dpjs.type="text/javascript";
	dpjs.src="https://cdn.jsdelivr.net/npm/dplayer@1.25.0/dist/DPlayer.min.js"
	var dpcss = document.createElement('link');
	dpcss.href = "https://cdn.jsdelivr.net/npm/dplayer@1.25.0/dist/DPlayer.min.css";
	dpcss.rel="stylesheet";
	var md5js = document.createElement('script');
	md5js.type = "text/javascript";
	md5js.src = "https://cdn.bootcss.com/spark-md5/3.0.0/spark-md5.js";
	document.body.appendChild(dpjs);
	document.body.appendChild(dpcss);
	document.body.appendChild(md5js);
	
}
function video_alert(url)
{
	var div = "div",
		box = document.querySelector(".fuploadbox"),
		btn = addelement(div,0,"关闭","text-align:center;background:#F00; color:#FFF;justify-content:center;align-items:Center;"),
		alert_box = addelement(div,0,0,"max-width:80%;max-heigth:70%;width:auto;heigth:auto;display: flex;top:10%;left:10%;right:15$%;z-index:9999;margin: 0 auto; position: fixed; bottom: 15%;"),
		video = new DPlayer({container:alert_box,video:{url:url}});
	
	box.append(alert_box);
	alert_box.append(btn);
	video.play();
	
	btn.addEventListener("click",function(){
		alert_box.remove();
	})
		
}